package domain;

import java.sql.Timestamp;

public class Comment {


	private long uidR;
	private User userS;
	private long mid;
	private String comment;
	private Timestamp timestamp;
	private long flag;
	private long cid;

	public Comment(User userS, long uidR, long mid, String comment, Timestamp timestamp, long flag, long cid) {
		this.userS = userS;
		this.uidR = uidR;
		this.mid = mid;
		this.comment = comment;
		this.timestamp = timestamp;
		this.flag = flag;
		this.cid = cid;
	}

	public long getCid() {
		return cid;
	}

	public void setCid(long cid) {
		this.cid = cid;
	}

	public long getUidR() {
		return uidR;
	}

	public void setUidR(long uidR) {
		this.uidR = uidR;
	}

	
	public long getMid() {
		return mid;
	}

	public void setMid(long mid) {
		this.mid = mid;
	}

	public String getComment() {
		return comment;
	}
	
	public void setComment(String comment) {
		this.comment = comment;
	}
	
	public Timestamp getTimestamp() {
		return timestamp;
	}
	
	public void setTimestamp(Timestamp timestamp) {
		this.timestamp = timestamp;
	}
	
	public long getFlag() {
		return flag;
	}
	
	public void setFlag(long flag) {
		this.flag = flag;
	}

	public User getUserS() {
		return userS;
	}

	public void setUserS(User userS) {
		this.userS = userS;
	}
}

